package com.luocj.elephant.demo.activity.views;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.luocj.elephant.demo.R;
import com.luocj.elephant.demo.view.views.HorProgressView1;

public class HorViewActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_hor_view);
        initView();
    }

    private void initView() {
        HorProgressView1 view1 = findViewById(R.id.view1);
        view1.setCurrentInNum(30);
        view1.setCurrentOutNum(20);
        view1.invalidate();
    }
}
